/* 
 * File:   list.h
 * Author: Marcin
 *
 * Created on 19 kwiecień 2011, 18:03
 */

#ifndef LIST_H
#define	LIST_H

#ifdef	__cplusplus
extern "C" {
#endif
  
    struct list
    {
        int key;
        struct list * next;
    };
   

    typedef struct lista list;
    list * listDodajNaKoniec(struct list * lista, int key);
    void usunListe(struct list * lfirst);
    void listUsunOstatni();


#ifdef	__cplusplus
}
#endif

#endif	/* LIST_H */

